package myhibernate;

import java.util.HashSet;
import java.util.Set;

/**
 * TResident entity. @author MyEclipse Persistence Tools
 */

public class TResident implements java.io.Serializable {

	// Fields

	private Integer residentId;
	private TBuilding TBuilding;
	private String residentName;
	private String residentPassword;
	private Set TRepairs = new HashSet(0);
	private Set TComplaints = new HashSet(0);

	// Constructors

	/** default constructor */
	public TResident() {
	}

	/** full constructor */
	public TResident(TBuilding TBuilding, String residentName, String residentPassword, Set TRepairs, Set TComplaints) {
		this.TBuilding = TBuilding;
		this.residentName = residentName;
		this.residentPassword = residentPassword;
		this.TRepairs = TRepairs;
		this.TComplaints = TComplaints;
	}

	// Property accessors

	public Integer getResidentId() {
		return this.residentId;
	}

	public void setResidentId(Integer residentId) {
		this.residentId = residentId;
	}

	public TBuilding getTBuilding() {
		return this.TBuilding;
	}

	public void setTBuilding(TBuilding TBuilding) {
		this.TBuilding = TBuilding;
	}

	public String getResidentName() {
		return this.residentName;
	}

	public void setResidentName(String residentName) {
		this.residentName = residentName;
	}

	public String getResidentPassword() {
		return this.residentPassword;
	}

	public void setResidentPassword(String residentPassword) {
		this.residentPassword = residentPassword;
	}

	public Set getTRepairs() {
		return this.TRepairs;
	}

	public void setTRepairs(Set TRepairs) {
		this.TRepairs = TRepairs;
	}

	public Set getTComplaints() {
		return this.TComplaints;
	}

	public void setTComplaints(Set TComplaints) {
		this.TComplaints = TComplaints;
	}

}